\(\int \frac {(d-c^2 d x^2)^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx\) [74]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (warning: unable to verify)
   Maple [A] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F(-2)]
   Mupad [F(-1)]

Optimal result

Integrand size = 27, antiderivative size = 197 \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x}+\frac {3 c d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{4 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \]

[Out]

-(-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/x-3/2*c^2*d*x*(a+b*arccosh(c*x))*(-c^2*d*x^2+d)^(1/2)+1/4*b*c^3*d*x^2
*(-c^2*d*x^2+d)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)+3/4*c*d*(a+b*arccosh(c*x))^2*(-c^2*d*x^2+d)^(1/2)/b/(c*x-1)^
(1/2)/(c*x+1)^(1/2)+b*c*d*ln(x)*(-c^2*d*x^2+d)^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2)

Rubi [A] (verified)

Time = 0.19 (sec) , antiderivative size = 197, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5928, 5895, 5893, 30, 74, 14} \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))+\frac {3 c d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{4 b \sqrt {c x-1} \sqrt {c x+1}}-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x}+\frac {b c d \log (x) \sqrt {d-c^2 d x^2}}{\sqrt {c x-1} \sqrt {c x+1}}+\frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {c x-1} \sqrt {c x+1}} \]

[In]

Int[((d - c^2*d*x^2)^(3/2)*(a + b*ArcCosh[c*x]))/x^2,x]

[Out]

(b*c^3*d*x^2*Sqrt[d - c^2*d*x^2])/(4*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) - (3*c^2*d*x*Sqrt[d - c^2*d*x^2]*(a + b*Arc
Cosh[c*x]))/2 - ((d - c^2*d*x^2)^(3/2)*(a + b*ArcCosh[c*x]))/x + (3*c*d*Sqrt[d - c^2*d*x^2]*(a + b*ArcCosh[c*x
])^2)/(4*b*Sqrt[-1 + c*x]*Sqrt[1 + c*x]) + (b*c*d*Sqrt[d - c^2*d*x^2]*Log[x])/(Sqrt[-1 + c*x]*Sqrt[1 + c*x])

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 74

Int[((a_) + (b_.)*(x_))^(m_.)*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[(a*c + b*
d*x^2)^m*(e + f*x)^p, x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && EqQ[b*c + a*d, 0] && EqQ[n, m] && Integer
Q[m] && (NeQ[m, -1] || (EqQ[e, 0] && (EqQ[p, 1] ||  !IntegerQ[p])))

Rule 5893

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/(Sqrt[(d1_) + (e1_.)*(x_)]*Sqrt[(d2_) + (e2_.)*(x_)]), x_Symbol]
 :> Simp[(1/(b*c*(n + 1)))*Simp[Sqrt[1 + c*x]/Sqrt[d1 + e1*x]]*Simp[Sqrt[-1 + c*x]/Sqrt[d2 + e2*x]]*(a + b*Arc
Cosh[c*x])^(n + 1), x] /; FreeQ[{a, b, c, d1, e1, d2, e2, n}, x] && EqQ[e1, c*d1] && EqQ[e2, (-c)*d2] && NeQ[n
, -1]

Rule 5895

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[x*Sqrt[d + e*x^2]*(
(a + b*ArcCosh[c*x])^n/2), x] + (-Dist[(1/2)*Simp[Sqrt[d + e*x^2]/(Sqrt[1 + c*x]*Sqrt[-1 + c*x])], Int[(a + b*
ArcCosh[c*x])^n/(Sqrt[1 + c*x]*Sqrt[-1 + c*x]), x], x] - Dist[b*c*(n/2)*Simp[Sqrt[d + e*x^2]/(Sqrt[1 + c*x]*Sq
rt[-1 + c*x])], Int[x*(a + b*ArcCosh[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0]
&& GtQ[n, 0]

Rule 5928

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Simp
[(f*x)^(m + 1)*(d + e*x^2)^p*((a + b*ArcCosh[c*x])^n/(f*(m + 1))), x] + (-Dist[2*e*(p/(f^2*(m + 1))), Int[(f*x
)^(m + 2)*(d + e*x^2)^(p - 1)*(a + b*ArcCosh[c*x])^n, x], x] - Dist[b*c*(n/(f*(m + 1)))*Simp[(d + e*x^2)^p/((1
 + c*x)^p*(-1 + c*x)^p)], Int[(f*x)^(m + 1)*(1 + c*x)^(p - 1/2)*(-1 + c*x)^(p - 1/2)*(a + b*ArcCosh[c*x])^(n -
 1), x], x]) /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0] && GtQ[p, 0] && LtQ[m, -1]

Rubi steps \begin{align*} \text {integral}& = -\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x}-\left (3 c^2 d\right ) \int \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x)) \, dx-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \frac {(-1+c x) (1+c x)}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = -\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \frac {-1+c^2 x^2}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 c^2 d \sqrt {d-c^2 d x^2}\right ) \int \frac {a+b \text {arccosh}(c x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 b c^3 d \sqrt {d-c^2 d x^2}\right ) \int x \, dx}{2 \sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {3 b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x}+\frac {3 c d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{4 b \sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b c d \sqrt {d-c^2 d x^2}\right ) \int \left (-\frac {1}{x}+c^2 x\right ) \, dx}{\sqrt {-1+c x} \sqrt {1+c x}} \\ & = \frac {b c^3 d x^2 \sqrt {d-c^2 d x^2}}{4 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3}{2} c^2 d x \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))-\frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x}+\frac {3 c d \sqrt {d-c^2 d x^2} (a+b \text {arccosh}(c x))^2}{4 b \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b c d \sqrt {d-c^2 d x^2} \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \\ \end{align*}

Mathematica [A] (warning: unable to verify)

Time = 0.97 (sec) , antiderivative size = 223, normalized size of antiderivative = 1.13 \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\frac {1}{8} \left (-\frac {4 a d \left (2+c^2 x^2\right ) \sqrt {d-c^2 d x^2}}{x}+12 a c d^{3/2} \arctan \left (\frac {c x \sqrt {d-c^2 d x^2}}{\sqrt {d} \left (-1+c^2 x^2\right )}\right )+4 b c d \sqrt {d-c^2 d x^2} \left (-\frac {2 \text {arccosh}(c x)}{c x}+\frac {\text {arccosh}(c x)^2+2 \log (c x)}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}\right )+\frac {b c d \sqrt {d-c^2 d x^2} \left (2 \text {arccosh}(c x)^2+\cosh (2 \text {arccosh}(c x))-2 \text {arccosh}(c x) \sinh (2 \text {arccosh}(c x))\right )}{\sqrt {\frac {-1+c x}{1+c x}} (1+c x)}\right ) \]

[In]

Integrate[((d - c^2*d*x^2)^(3/2)*(a + b*ArcCosh[c*x]))/x^2,x]

[Out]

((-4*a*d*(2 + c^2*x^2)*Sqrt[d - c^2*d*x^2])/x + 12*a*c*d^(3/2)*ArcTan[(c*x*Sqrt[d - c^2*d*x^2])/(Sqrt[d]*(-1 +
 c^2*x^2))] + 4*b*c*d*Sqrt[d - c^2*d*x^2]*((-2*ArcCosh[c*x])/(c*x) + (ArcCosh[c*x]^2 + 2*Log[c*x])/(Sqrt[(-1 +
 c*x)/(1 + c*x)]*(1 + c*x))) + (b*c*d*Sqrt[d - c^2*d*x^2]*(2*ArcCosh[c*x]^2 + Cosh[2*ArcCosh[c*x]] - 2*ArcCosh
[c*x]*Sinh[2*ArcCosh[c*x]]))/(Sqrt[(-1 + c*x)/(1 + c*x)]*(1 + c*x)))/8

Maple [A] (verified)

Time = 1.02 (sec) , antiderivative size = 244, normalized size of antiderivative = 1.24

method result size
default \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{d x}-a \,c^{2} x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}-\frac {3 a \,c^{2} d x \sqrt {-c^{2} d \,x^{2}+d}}{2}-\frac {3 a \,c^{2} d^{2} \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{2 \sqrt {c^{2} d}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x +1}\, \operatorname {arccosh}\left (c x \right ) \sqrt {c x -1}\, c^{2} x^{2}+2 c^{3} x^{3}+6 \operatorname {arccosh}\left (c x \right )^{2} x c -8 \,\operatorname {arccosh}\left (c x \right ) \sqrt {c x -1}\, \sqrt {c x +1}-8 c x \,\operatorname {arccosh}\left (c x \right )+8 \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) x c -c x \right ) d}{8 \sqrt {c x -1}\, \sqrt {c x +1}\, x}\) \(244\)
parts \(-\frac {a \left (-c^{2} d \,x^{2}+d \right )^{\frac {5}{2}}}{d x}-a \,c^{2} x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}}-\frac {3 a \,c^{2} d x \sqrt {-c^{2} d \,x^{2}+d}}{2}-\frac {3 a \,c^{2} d^{2} \arctan \left (\frac {\sqrt {c^{2} d}\, x}{\sqrt {-c^{2} d \,x^{2}+d}}\right )}{2 \sqrt {c^{2} d}}+\frac {b \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x +1}\, \operatorname {arccosh}\left (c x \right ) \sqrt {c x -1}\, c^{2} x^{2}+2 c^{3} x^{3}+6 \operatorname {arccosh}\left (c x \right )^{2} x c -8 \,\operatorname {arccosh}\left (c x \right ) \sqrt {c x -1}\, \sqrt {c x +1}-8 c x \,\operatorname {arccosh}\left (c x \right )+8 \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right ) x c -c x \right ) d}{8 \sqrt {c x -1}\, \sqrt {c x +1}\, x}\) \(244\)

[In]

int((-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/x^2,x,method=_RETURNVERBOSE)

[Out]

-a/d/x*(-c^2*d*x^2+d)^(5/2)-a*c^2*x*(-c^2*d*x^2+d)^(3/2)-3/2*a*c^2*d*x*(-c^2*d*x^2+d)^(1/2)-3/2*a*c^2*d^2/(c^2
*d)^(1/2)*arctan((c^2*d)^(1/2)*x/(-c^2*d*x^2+d)^(1/2))+1/8*b*(-d*(c^2*x^2-1))^(1/2)/(c*x-1)^(1/2)/(c*x+1)^(1/2
)/x*(-4*(c*x+1)^(1/2)*arccosh(c*x)*(c*x-1)^(1/2)*c^2*x^2+2*c^3*x^3+6*arccosh(c*x)^2*x*c-8*arccosh(c*x)*(c*x-1)
^(1/2)*(c*x+1)^(1/2)-8*c*x*arccosh(c*x)+8*ln(1+(c*x+(c*x-1)^(1/2)*(c*x+1)^(1/2))^2)*x*c-c*x)*d

Fricas [F]

\[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\int { \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x^{2}} \,d x } \]

[In]

integrate((-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/x^2,x, algorithm="fricas")

[Out]

integral(-(a*c^2*d*x^2 - a*d + (b*c^2*d*x^2 - b*d)*arccosh(c*x))*sqrt(-c^2*d*x^2 + d)/x^2, x)

Sympy [F]

\[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\int \frac {\left (- d \left (c x - 1\right ) \left (c x + 1\right )\right )^{\frac {3}{2}} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{x^{2}}\, dx \]

[In]

integrate((-c**2*d*x**2+d)**(3/2)*(a+b*acosh(c*x))/x**2,x)

[Out]

Integral((-d*(c*x - 1)*(c*x + 1))**(3/2)*(a + b*acosh(c*x))/x**2, x)

Maxima [F]

\[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\int { \frac {{\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} {\left (b \operatorname {arcosh}\left (c x\right ) + a\right )}}{x^{2}} \,d x } \]

[In]

integrate((-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/x^2,x, algorithm="maxima")

[Out]

-1/2*(3*sqrt(-c^2*d*x^2 + d)*c^2*d*x + 3*c*d^(3/2)*arcsin(c*x) + 2*(-c^2*d*x^2 + d)^(3/2)/x)*a + b*integrate((
-c^2*d*x^2 + d)^(3/2)*log(c*x + sqrt(c*x + 1)*sqrt(c*x - 1))/x^2, x)

Giac [F(-2)]

Exception generated. \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate((-c^2*d*x^2+d)^(3/2)*(a+b*arccosh(c*x))/x^2,x, algorithm="giac")

[Out]

Exception raised: TypeError >> an error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value

Mupad [F(-1)]

Timed out. \[ \int \frac {\left (d-c^2 d x^2\right )^{3/2} (a+b \text {arccosh}(c x))}{x^2} \, dx=\int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (d-c^2\,d\,x^2\right )}^{3/2}}{x^2} \,d x \]

[In]

int(((a + b*acosh(c*x))*(d - c^2*d*x^2)^(3/2))/x^2,x)

[Out]

int(((a + b*acosh(c*x))*(d - c^2*d*x^2)^(3/2))/x^2, x)